package com.winning.sjzc.sjjgl.service;

import com.github.pagehelper.PageInfo;
import com.winning.sjzc.sjjgl.entity.SJJXX;
import com.winning.sjzc.sjjgl.entity.SJYML;
import com.winning.sjzc.sjjgl.entity.SjjflEntity;
import com.winning.sjzc.sjjgl.entity.SjyxxEntity;

import java.util.List;
import java.util.Map;

public interface DataSetService {


    public PageInfo<SJJXX> queryDataSet(String yjlbdm, String sjjfldm, String sjjmc, int limit, int offset);

    public SJJXX queryBBHAndFBRQ();

    int saveDataSet(SJJXX sjjxx);

    void deleteDataSet(String sjjdm, String bbh);

    int publishDataSet(String bbh, String fbrq);

    SJJXX querySjjxxBySjjdmAndBbh(String sjjdm, String bbh);

    int updateDataSet(SJJXX sjjxx);

    PageInfo<SJYML> querySjyml(String sjjdm, String sjydm, int limit, int offset);

    List<SJYML> querySjymlBySjjdms(Map<String, Object> paramMap);

    void deleteSjyml(List<SJYML> list);

    void updateSjyml(SJYML sjyml);

    void saveSjyml(List<SJYML> list);

    PageInfo<SjyxxEntity> querySjyxxBySjjdm(Integer offset, Integer limit, String sjymc, String sjjdm);

    List<SJJXX> queryAllSjjfl();

    List<SjjflEntity> querySjjxxTree();

    List<SJJXX> querySjjxxByParam(Map param);
}